<?php /* Smarty version 2.6.16, created on 2009-04-25 12:25:01
         compiled from Browse.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'Browse.html', 1, false),array('function', 'language', 'Browse.html', 8, false),array('function', 'url', 'Browse.html', 19, false),array('function', 'str_replace', 'Browse.html', 120, false),array('function', 'img', 'Browse.html', 138, false),array('function', 'module', 'Browse.html', 202, false),array('modifier', 'default', 'Browse.html', 131, false),array('modifier', 'truncate', 'Browse.html', 134, false),array('modifier', 'wordfilter', 'Browse.html', 134, false),array('modifier', 'process_code', 'Browse.html', 134, false),array('modifier', 'escape', 'Browse.html', 165, false),array('modifier', 'date_format', 'Browse.html', 168, false),)), $this); ?>
<?php echo smarty_function_messages(array('block' => 'gallery'), $this);?>

<table style="width: 100%;" cellpadding="4" cellspacing="0">
    <tr>
        <td class="border2">
            <table style="width: 100%;cursor:pointer;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0" onclick="SwitchMenu('gall1','galltext1')">
                <tr>
                    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
                    <td class="block_header"><?php echo smarty_function_language(array('text' => 'browse'), $this);?>
</td>
                    <td style="text-align:right;padding-right:4px;"><span class="cur" id="galltext1">[-]</span></td>
                </tr>
            </table>
            <table style="width:100%;" cellspacing="1" cellpadding="1" id="gall1">
                <tr>
                    <td width="10"></td>
                    <td>
<div class="submenu">
<br/>
<div id="formhide1">
<form method="post" action="<?php echo smarty_function_url(array('link' => 'current'), $this);?>
" style="margin:0px;">
<table style="width:100%;" cellspacing="0" cellpadding="0">
<tr>
<td style="font-size:8pt;width:70%;vertical-align:top;" class="color">

<table style="width:100%;" cellspacing="0" cellpadding="4">
<tr>
<td style="width:35%;font-size:8pt;text-align:right;" class="color">
<?php echo smarty_function_language(array('text' => 'order_by'), $this);?>
 :
</td>
<td style="width:75%;font-size:8pt;" class="color">
<select name="field">
<option value="time"<?php if ($this->_tpl_vars['sSort'] == 'time'): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'time'), $this);?>
</option>
<?php if (! getParam ( 'section_rate' )): ?>
<option value="rating"<?php if ($this->_tpl_vars['sSort'] == 'rating'): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'top_rated'), $this);?>
</option>
<?php endif; ?>
<option value="view"<?php if ($this->_tpl_vars['sSort'] == 'view'): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'most_viewed'), $this);?>
</option>
</select>
</td>
</tr>
<tr>
<td style="width:35%;font-size:8pt;text-align:right;" class="color">
<?php echo smarty_function_language(array('text' => 'display_mode'), $this);?>
:
</td>
<td style="width:75%;font-size:8pt;" class="color">
<select name="display">
<option value="1"<?php if ($this->_tpl_vars['aForm']['display'] == 1): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'thumbnail'), $this);?>
</option>
<option value="2"<?php if ($this->_tpl_vars['aForm']['display'] == 2): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'list'), $this);?>
</option>
<option value="3"<?php if ($this->_tpl_vars['aForm']['display'] == 3): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'infopic'), $this);?>
</option>
</select>

/
<select name="pagesize">
<option value="6"<?php if ($this->_tpl_vars['aForm']['pagesize'] == 6): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => '6_per_page'), $this);?>
</option>
<option value="12"<?php if ($this->_tpl_vars['aForm']['pagesize'] == 12): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => '12_per_page'), $this);?>
</option>
<option value="24"<?php if ($this->_tpl_vars['aForm']['pagesize'] == 24): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => '24_per_page'), $this);?>
</option>
</select>
</td>
</tr>
<tr>
<td style="width:35%;font-size:8pt;text-align:right;" class="color">
<?php echo smarty_function_language(array('text' => 'view_mode'), $this);?>
:
</td>
<td style="width:75%;font-size:8pt;" class="color">
<select name="mode">
<option value="1"<?php if ($this->_tpl_vars['aForm']['mode'] == 1): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'site_viewer'), $this);?>
</option>
<option value="2"<?php if ($this->_tpl_vars['aForm']['mode'] == 2): ?> selected="selected"<?php endif; ?>><?php echo smarty_function_language(array('text' => 'profile_viewer'), $this);?>
</option>
</select>
</td>
</tr>
</table>

</td><td style="font-size:7pt;width:30%;vertical-align:middle;text-align:center;" class="color">
<input type="submit" value="<?php echo smarty_function_language(array('text' => 'apply_browse_settings'), $this);?>
" class="mainmenu6" onclick="document.getElementById('formhide1').style.display='none';document.getElementById('formhide2').style.display='';" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" />

<br /><br />

</td>
</tr>
</table>

</form>
<br/>
</div>

<div style="text-align:center;display:none;" id="formhide2">
<table style="margin-left:auto;margin-right:auto;">
<tr>
<td style="font-size:10pt;" class="color">
<b><?php echo smarty_function_language(array('text' => 'updating_browse_settings'), $this);?>
</b>
</td>
<td>
<table class="pbar3" cellpadding="0" cellspacing="0">
<tr>
<td>
<span id="progress1">&nbsp; &nbsp;</span>
<span id="progress2">&nbsp; &nbsp;</span>
<span id="progress3">&nbsp; &nbsp;</span>
<span id="progress4">&nbsp; &nbsp;</span>
<span id="progress5">&nbsp; &nbsp;</span>
<span id="progress6">&nbsp; &nbsp;</span>
<span id="progress7">&nbsp; &nbsp;</span>
<span id="progress8">&nbsp; &nbsp;</span>
<span id="progress9">&nbsp; &nbsp;</span>
<span id="progress10">&nbsp; &nbsp;</span>
<span id="progress11">&nbsp; &nbsp;</span>
</td></tr></table>
</td></tr></table>
<script type="text/javascript">do_prog(11,200);</script>
<br />
</div>
</div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<br />
<?php if ($this->_tpl_vars['iCnt']): ?>
<div style="font-size:9pt;">
	<?php echo smarty_function_str_replace(array('text' => "`viewing_ifrom_ito_out_of_icnt_image`",'iFrom' => ($this->_tpl_vars['iFrom']),'iTo' => ($this->_tpl_vars['iTo']),'iCnt' => ($this->_tpl_vars['iCnt'])), $this);?>

</div>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager_nav_button.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if (count ( $this->_tpl_vars['aItems'] )): ?>
<!-- START IMAGES -->
<table style="width:100%;" cellpadding="4" cellspacing="0">
<?php if ($this->_tpl_vars['aForm']['display'] == 1): ?>
<tr>
<?php endif; ?>
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
<?php if (((is_array($_tmp=@$this->_tpl_vars['aForm']['display'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')) == 1): ?>
<td style="text-align:center;vertical-align:middle;">
<table style="margin-left:auto;margin-right:auto;"><tr><td style="font-size:8pt;" class="color">
<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 40) : smarty_modifier_truncate($_tmp, 40)))) ? $this->_run_mod_handler('wordfilter', true, $_tmp) : smarty_modifier_wordfilter($_tmp)))) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>

<table style="margin-left:auto;margin-right:auto;"><tr><td>

<a href="<?php if ($this->_tpl_vars['aForm']['mode'] == 1):  echo smarty_function_url(array('link' => 'public.gallery.view','id' => $this->_tpl_vars['aItem']['id'],'field' => $this->_tpl_vars['sSort'],'foxseotitle' => $this->_tpl_vars['aItem']['text']), $this); else:  echo smarty_function_url(array('link' => 'public.user.gallery','name' => $this->_tpl_vars['aItem']['user']), $this); endif; ?>">
<?php echo smarty_function_img(array('src' => ($this->_tpl_vars['sImagePath'])."thumb/".($this->_tpl_vars['aItem']['id']).".jpg",'alt' => "",'src_def' => "design/pic/noimage_120.jpg"), $this);?>

</a>

</td>
</tr>
</table>
<?php if ($this->_tpl_vars['bAdmin'] || $this->_tpl_vars['bStaff']): ?>
  <div>
    <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','delete' => $this->_tpl_vars['aItem']['id']), $this);?>
" onclick="return confirm('<?php echo smarty_function_language(array('text' => 'do_you_really_want_to_delete_this_i'), $this);?>
');">[ <?php echo smarty_function_language(array('text' => 'delete'), $this);?>
 ]</a>
    <?php if ($this->_tpl_vars['aItem']['feature'] == 1): ?><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','removefeature' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'unmake_featured'), $this);?>
 ]</a><?php else: ?><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','makefeature' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'make_featured_763'), $this);?>
 ]</a><?php endif; ?>
  </div>
<?php endif; ?>
</td>
</tr>
</table></td>
<?php if ($this->_tpl_vars['key'] % 3 == 2): ?>
</tr>
<tr<?php if ($this->_tpl_vars['key'] % 3 == 0): ?> class="border13"<?php endif; ?>>
<?php if (($this->_foreach['aitems']['iteration'] == $this->_foreach['aitems']['total']) == true): ?>
<td></td>
<?php endif; ?>
<?php endif; ?>
<?php elseif ($this->_tpl_vars['aForm']['display'] == 2): ?>
<tr<?php if ($this->_tpl_vars['key'] % 3 == 0): ?> class="border13"<?php endif; ?>>
<td style="text-align:left;vertical-align:middle;" onmouseover="this.className='border14';" onmouseout="this.className='';">
<table style="width:100%;"><tr><td style="width:60%;font-size:8pt;" class="color">
<a href="<?php echo smarty_function_url(array('link' => 'public.gallery.view','id' => $this->_tpl_vars['aItem']['id'],'field' => $this->_tpl_vars['sSort'],'foxseotitle' => $this->_tpl_vars['aItem']['text']), $this);?>
">
<?php if (! $this->_tpl_vars['aItem']['text']):  echo smarty_function_language(array('text' => 'Mod_Site.untitled'), $this); else:  echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 40) : smarty_modifier_truncate($_tmp, 40)))) ? $this->_run_mod_handler('wordfilter', true, $_tmp) : smarty_modifier_wordfilter($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp));  endif; ?></a> <?php echo smarty_function_language(array('text' => 'by_397'), $this);?>
 <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
<?php echo $this->_tpl_vars['aItem']['user']; ?>
</a>
</td><td style="width:20%;font-size:8pt;" class="color"> <?php echo $this->_tpl_vars['aItem']['gcatagory']; ?>
 </td>
<td style="width:20%;font-size:8pt;" class="color"> <?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sMonthDateFormat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sMonthDateFormat'])); ?>
 </td>
</tr></table>
</td></tr>
<?php elseif ($this->_tpl_vars['aForm']['display'] == 3): ?>
<tr <?php if ($this->_tpl_vars['key'] % 3 == 0): ?>class="border13"<?php endif; ?>>
<td style="text-align:left;vertical-align:middle;">
<table style="width:100%;"><tr><td style="width:30%;text-align:center;">
	<a href="<?php if ($this->_tpl_vars['aForm']['mode'] == 1):  echo smarty_function_url(array('link' => 'public.gallery.view','id' => $this->_tpl_vars['aItem']['id'],'field' => $this->_tpl_vars['sSort'],'foxseotitle' => $this->_tpl_vars['aItem']['text']), $this); else:  echo smarty_function_url(array('link' => 'public.user.gallery','name' => $this->_tpl_vars['aItem']['user']), $this); endif; ?>">
                <?php echo smarty_function_img(array('src' => ($this->_tpl_vars['sImagePath'])."thumb/".($this->_tpl_vars['aItem']['id']).".jpg",'alt' => "",'src_def' => "design/pic/noimage_120.jpg"), $this);?>

	</a>
</td><td style="width:70%;vertical-align:top;font-size:8pt;" class="color">
<b><?php echo smarty_function_language(array('text' => 'posted_by_604'), $this);?>
</b>: <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
<?php echo $this->_tpl_vars['aItem']['user']; ?>
</a>
 <br />
<div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'title'), $this);?>
</b>: <?php if (! $this->_tpl_vars['aItem']['text']):  echo smarty_function_language(array('text' => 'Mod_Site.untitled'), $this); else:  echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 40) : smarty_modifier_truncate($_tmp, 40)))) ? $this->_run_mod_handler('wordfilter', true, $_tmp) : smarty_modifier_wordfilter($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp));  endif; ?> </div>
<div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'views'), $this);?>
</b>: <?php echo $this->_tpl_vars['aItem']['view']; ?>
 </div>
<div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'comments_67'), $this);?>
</b>: <?php echo $this->_tpl_vars['aItem']['comment']; ?>
 </div>
<div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'image_url_location'), $this);?>
</b>: <div style="padding:4px;"><input type="text" size="70" name="url" value="<?php echo $this->_tpl_vars['sImagePath'];  echo $this->_tpl_vars['aItem']['id']; ?>
.jpg" /></div></div>
</td></tr></table>
</td></tr>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['aForm']['display'] == 1): ?>
</tr>
<?php endif; ?>
</table>
<!-- START IMAGES -->
<?php else: ?>
<div class="message_info"><?php echo smarty_function_language(array('text' => 'no_items_were_found'), $this);?>
</div>
<?php endif; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager_nav_button.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<br />
<br />
<?php echo smarty_function_module(array('module' => 'Tag','component' => 'List','type' => 'gallery'), $this);?>